home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / Crossword / Source / BackjumpState.h < prev    next >
Text File  |  1992-10-11  |  424b  |  28 lines

  1. /*
  2.  
  3. File BackjumpState.h
  4.  
  5. This state is used for backjumping search.  The state can keep track of a single nogood.
  6.  
  7. */
  8.  
  9. #import "PlainState.h"
  10. #import <objc/List.h>
  11.  
  12.  
  13. /* ————————————————————————————————————————————————————————————————————————————  */
  14.  
  15.  
  16. @interface BackjumpState:PlainState
  17. {
  18.     BOOL    nogood;
  19.     List    * nogoodWords;
  20. }
  21.  
  22. - (BOOL) inNogood;
  23. - initPuzzle: (id) thePuzzle;
  24. - free;
  25. - mustChange: (id) word;
  26. - isok;
  27.  
  28. @end